import exp from "constants"

//   菜肴信息
export interface SelectDishInfo {
  allChoose?: number
  allFollow?: number
  allReview?: number
  attent?: number
  describes?: string
  dishAppearance?: number
  dishCode?: string
  dishFlavor?: number
  dishId?: number
  dishMaterial?: number
  dishName?: string
  dishStar?: number
  dishType?: string
  dishUrl?: string
  establishTime?: string
  flg?: number
  newType?: null
  style?: null
}
// 菜肴类型信息
export interface SelectDishType {
  gmtCreate?: string
  id?: number
  name?: string
  parentId?: number
  seq?: number
}
// 备选菜肴信息类型
export interface CardDish {
  dishCode?: string
  dishInit?: number
  dishName?: string
  dishStar?: number
  dishStyle?: string
  dishType?: string
  dishUrl?: string
  orderId?: number
  userId?: number
}
//  历史搜索菜名
export interface History {
  connt: string
  id: number
  time: string
  type: string
  userId: number
}
// 获取点菜列表
export interface MyOrderDish {
  dishCode: string,
  dishInit: number
  dishName: string
  dishNeedId: number
  dishStyle?: string | number
  dishType: string
  dishUrl: string
  eateWeek: string
  kitchenId: number
  nextWeek: number
  submitTime: string
  sum: number
  userId: number
}
export type MyOrderDishList = MyOrderDish[]
export type HistoryList = History[]
export type CardDishList = CardDish[]
export type SelectDishList = SelectDishInfo[]

export type SelectDishTypeList = SelectDishType[]
